package com.edu.service.load;

import com.edu.entity.resource.Resource;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface LoadService {
    void insertfile(Resource resource);
    List<Resource> findlist(Integer page,Integer size);
    List<Resource> findByName(String resourceName,Integer page,Integer size);
    Resource findById(Integer id);
    int gettotal(String resourceName);
}
